<%@ page language="java" pageEncoding="UTF-8"%>
<style>
.pf-row {
	margin-bottom: 5px;
}

.pf-row  label {
	display: inline-block;
	width: 30%;
	text-align: right;
}
</style>
<div class="modal fade" data-backdrop="static" id="pf-add-block-item-article-modal">
    <div class="modal-dialog ">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"></button>
                <h3 id="pf-modal-title">推荐</h3>
            </div>
            <div class="modal-body">
                <form id="pf-block-item-article-save-form" action="/manage/article/blockItem/save" method="post" enctype="multipart/form-data">
                    <input type="hidden" class="form-control" placeholder="id" name="id" value="${blockItemEntity.id}" id="id" />
                    <input type="hidden" class="form-control" placeholder="案例id" name="itemId" value="${blockItemEntity.itemId}" id="itemId" />
                    <div class="pf-row">
                        <label> <span class="red">*</span> 推荐位：
                        </label> 
                        <!-- <select id="pf-select-block"
                            class="form-control" style="display: inline-block; width: 150px"></select> -->
                       <select id="pf-select-block-modal" class="form-control" style="display: inline-block; width: 50%" name="blockId">
                        </select> 
                        
                    </div>
                    <!-- <div class="pf-row">
                        <label> <span class="red">*</span> 城市：
                        </label> <select id="pf-select-province-block-item" class="form-control" style="display: inline-block; width: 25%" name="provinceId">
                        </select> <span class="clear"> </span> <select id="pf-select-city-block-item" class="form-control" style="display: inline-block; width: 25%" name="cityId">
                        </select>
                    </div> -->
                    <ul id="cityTree" class="ztree" style="margin-left:80px;"></ul>
                    <div class="pf-row">
                        <label>
                        <span class="red">*</span>有效期：
                        </label> <input type="text" class="form-control" style="display: inline-block; width: 25%;" placeholder="有效期" id="pf-block-item-valid-date" name="expireTimeString" />
                                空表示"永不过期"
                    </div>
                    <div class="pf-row">
                        <label> <span class="red">*</span>排序：   </label> <input type="text" class="form-control" style="display: inline-block; width: 25%" placeholder="排序" name="orderby" value="${blockItemEntity.orderby}" />
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn">关闭</button>
                <button type="button" class="btn btn-primary pf-submit" id="pf-submit-block-item-article">提交</button>
            </div>
        </div>
    </div>
</div>
